package com.efounder.bean;

import java.util.List;

/**
 * Created by Marcello on 2018/9/29.
 * 商品的bean类
 */
public class GoodsBean {
    /**
     * goodUrl : https://m.kaola.com/product_detail/1398110.html?network=wifi&platform=1&imgtype=webp&deviceUdID=b538ba50e75af92e7dbfb88af1f25489157cf2b6&appVersion=3.10.0&deviceUdidToken=89F1CB9FE5DE1684C834EC3C64F4D8A4568D0F2C25A911EC81837AC5F3324FB7268A94DBE6C7103B0C2260805D1F4FD8&version=30100030&width=1080&appChannel=298&apiVersion=207
     * goodDiscounts : [{"discountTypeId":"1","goodBh":"001161350000017","discountAmount":3,"discountRuleId":"1","discountTypeName":"银钻积分","discountRatio":"1"},{"discountTypeId":"2","goodBh":"001161350000017","discountAmount":3,"discountRuleId":"2","discountTypeName":"能量","discountRatio":"1"}]
     * mallActivitys : [null]
     * description : 暖胃又暖心
     * goodId : 001161350000017
     * mallShop : {"shopBh":"129674","shopBrandlog":"https://pop.nosdn.127.net/16b8bf33-544e-4d91-8393-733698a1544a?imageView&thumbnail=150x0&quality=85&","shopName":"Five_Plus","shopToplog":null}
     * goodSkus : []
     * pictures : [{"goodBh":null,"picUrl":"http://haitao.nosdn3.127.net/onlineihleg5si12989.jpg","sellerId":null,"id":7,"picStatus":1,"shopId":null},{"goodBh":null,"picUrl":"http://haitao.nos.netease.com/iv3lvwfp17_800_800.jpg","sellerId":null,"id":8,"picStatus":1,"shopId":null},{"goodBh":null,"picUrl":"http://haitao.nos.netease.com/1bgpn7irk82_800_800.jpg","sellerId":null,"id":9,"picStatus":1,"shopId":null},{"goodBh":null,"picUrl":"http://haitao.nosdn1.127.net/onlineihleg8i212990.jpg","sellerId":null,"id":10,"picStatus":1,"shopId":null},{"goodBh":null,"picUrl":"http://haitao.nos.netease.com/iv3lvwtg63_800_800.jpg","sellerId":null,"id":11,"picStatus":1,"shopId":null}]
     * typeBh : 0202
     * goodStatus : 1
     * goodName : THERMOS 膳魔师 超轻真空大容量保温杯旅行必备 JNL系列500毫升
     * prices : [{"price":10,"priceType":1,"startTime":1519894064000,"endTime":1519894064000,"id":"1398","good":null}]
     * brand : {"brandName":"膳魔师","brandId":5,"brandStatus":1,"brandIcon":"https://img11.360buyimg.com/n7/jfs/t2719/125/1681973181/96580/7d6ce830/57453ad3N27dc8d7b.jpg","typeBh":"0202"}
     * goodCover : http://haitao.nosdn3.127.net/onlineihleg5si12989.jpg
     * * tokenPrices: [{mallDiscountId: 2,goodId: "001161350000017",tokenTypeId: "4",tokenTypeName: "FGT",tokenIcon: "htt
     */
    private int orderGoodNum;

    public int getOrderGoodNum() {
        return orderGoodNum;
    }

    public void setOrderGoodNum(int orderGoodNum) {
        this.orderGoodNum = orderGoodNum;
    }

    public List<TokenPricesBean> getTokenPrices() {
        return tokenPrices;
    }

    public void setTokenPrices(List<TokenPricesBean> tokenPrices) {
        this.tokenPrices = tokenPrices;
    }

    private String goodUrl;
    private String description;
    private String goodId;
    private MallShopBeanX mallShop;
    private String typeBh;
    private int goodStatus;
    private String goodName;
    private BrandBean brand;
    private String goodCover;
    private List<GoodDiscountsBean> goodDiscounts;
    private List<String> mallActivitys;
    private List<GoodSkusBean> goodSkus;
    private List<PicturesBean> pictures;
    private List<PricesBean> prices;
    private DetailsDatas.GoodBean.MallGoodPrice mallGoodPrice;
    private List<TokenPricesBean> tokenPrices;
    public MallShopBeanX getMallShop() {
        return mallShop;
    }

    public void setMallShop(MallShopBeanX mallShop) {
        this.mallShop = mallShop;
    }

    public DetailsDatas.GoodBean.MallGoodPrice getMallGoodPrice() {
        return mallGoodPrice;
    }

    public void setMallGoodPrice(DetailsDatas.GoodBean.MallGoodPrice mallGoodPrice) {
        this.mallGoodPrice = mallGoodPrice;
    }

    public BrandBean getBrand() {
        return brand;
    }

    public void setBrand(BrandBean brand) {
        this.brand = brand;
    }

    public List<GoodDiscountsBean> getGoodDiscounts() {
        return goodDiscounts;
    }

    public void setGoodDiscounts(List<GoodDiscountsBean> goodDiscounts) {
        this.goodDiscounts = goodDiscounts;
    }

    public List<PicturesBean> getPictures() {
        return pictures;
    }

    public void setPictures(List<PicturesBean> pictures) {
        this.pictures = pictures;
    }

    public List<PricesBean> getPrices() {
        return prices;
    }

    public void setPrices(List<PricesBean> prices) {
        this.prices = prices;
    }

    public String getGoodUrl() {
        return goodUrl;
    }

    public void setGoodUrl(String goodUrl) {
        this.goodUrl = goodUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getGoodId() {
        return goodId;
    }

    public void setGoodId(String goodId) {
        this.goodId = goodId;
    }


    public String getTypeBh() {
        return typeBh;
    }

    public void setTypeBh(String typeBh) {
        this.typeBh = typeBh;
    }

    public int getGoodStatus() {
        return goodStatus;
    }

    public void setGoodStatus(int goodStatus) {
        this.goodStatus = goodStatus;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }


    public String getGoodCover() {
        return goodCover;
    }

    public void setGoodCover(String goodCover) {
        this.goodCover = goodCover;
    }


    public List<String> getMallActivitys() {
        return mallActivitys;
    }

    public void setMallActivitys(List<String> mallActivitys) {
        this.mallActivitys = mallActivitys;
    }

    public List<GoodSkusBean> getGoodSkus() {
        return goodSkus;
    }

    public void setGoodSkus(List<GoodSkusBean> goodSkus) {
        this.goodSkus = goodSkus;
    }


    public static class MallShopBeanX {
        /**
         * shopBh : 129674
         * shopBrandlog : https://pop.nosdn.127.net/16b8bf33-544e-4d91-8393-733698a1544a?imageView&thumbnail=150x0&quality=85&
         * shopName : Five_Plus
         * shopToplog : null
         */

        private String shopBh;
        private String shopBrandlog;
        private String shopName;
        private Object shopToplog;

        public String getShopBh() {
            return shopBh;
        }

        public void setShopBh(String shopBh) {
            this.shopBh = shopBh;
        }

        public String getShopBrandlog() {
            return shopBrandlog;
        }

        public void setShopBrandlog(String shopBrandlog) {
            this.shopBrandlog = shopBrandlog;
        }

        public String getShopName() {
            return shopName;
        }

        public void setShopName(String shopName) {
            this.shopName = shopName;
        }

        public Object getShopToplog() {
            return shopToplog;
        }

        public void setShopToplog(Object shopToplog) {
            this.shopToplog = shopToplog;
        }
    }

    public static class BrandBean {
        /**
         * brandName : 膳魔师
         * brandId : 5
         * brandStatus : 1
         * brandIcon : https://img11.360buyimg.com/n7/jfs/t2719/125/1681973181/96580/7d6ce830/57453ad3N27dc8d7b.jpg
         * typeBh : 0202
         */

        private String brandName;
        private int brandId;
        private int brandStatus;
        private String brandIcon;
        private String typeBh;

        public String getBrandName() {
            return brandName;
        }

        public void setBrandName(String brandName) {
            this.brandName = brandName;
        }

        public int getBrandId() {
            return brandId;
        }

        public void setBrandId(int brandId) {
            this.brandId = brandId;
        }

        public int getBrandStatus() {
            return brandStatus;
        }

        public void setBrandStatus(int brandStatus) {
            this.brandStatus = brandStatus;
        }

        public String getBrandIcon() {
            return brandIcon;
        }

        public void setBrandIcon(String brandIcon) {
            this.brandIcon = brandIcon;
        }

        public String getTypeBh() {
            return typeBh;
        }

        public void setTypeBh(String typeBh) {
            this.typeBh = typeBh;
        }
    }

    public static class GoodDiscountsBean {
        /**
         * discountTypeId : 1
         * goodBh : 001161350000017
         * discountAmount : 3
         * discountRuleId : 1
         * discountTypeName : 银钻积分
         * discountRatio : 1
         */

        private String discountTypeId;
        private String goodBh;
        private double discountAmount;
        private String discountRuleId;
        private String discountTypeName;
        private String discountRatio;

        public String getDiscountTypeId() {
            return discountTypeId;
        }

        public void setDiscountTypeId(String discountTypeId) {
            this.discountTypeId = discountTypeId;
        }

        public String getGoodBh() {
            return goodBh;
        }

        public void setGoodBh(String goodBh) {
            this.goodBh = goodBh;
        }

        public double getDiscountAmount() {
            return discountAmount;
        }

        public void setDiscountAmount(double discountAmount) {
            this.discountAmount = discountAmount;
        }

        public String getDiscountRuleId() {
            return discountRuleId;
        }

        public void setDiscountRuleId(String discountRuleId) {
            this.discountRuleId = discountRuleId;
        }

        public String getDiscountTypeName() {
            return discountTypeName;
        }

        public void setDiscountTypeName(String discountTypeName) {
            this.discountTypeName = discountTypeName;
        }

        public String getDiscountRatio() {
            return discountRatio;
        }

        public void setDiscountRatio(String discountRatio) {
            this.discountRatio = discountRatio;
        }
    }

    public static class PicturesBean {
        /**
         * goodBh : null
         * picUrl : http://haitao.nosdn3.127.net/onlineihleg5si12989.jpg
         * sellerId : null
         * id : 7
         * picStatus : 1
         * shopId : null
         */

        private Object goodBh;
        private String picUrl;
        private Object sellerId;
        private String id;
        private int picStatus;
        private Object shopId;

        public Object getGoodBh() {
            return goodBh;
        }

        public void setGoodBh(Object goodBh) {
            this.goodBh = goodBh;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public Object getSellerId() {
            return sellerId;
        }

        public void setSellerId(Object sellerId) {
            this.sellerId = sellerId;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getPicStatus() {
            return picStatus;
        }

        public void setPicStatus(int picStatus) {
            this.picStatus = picStatus;
        }

        public Object getShopId() {
            return shopId;
        }

        public void setShopId(Object shopId) {
            this.shopId = shopId;
        }
    }

    public static class PricesBean {
        /**
         * price : 10
         * priceType : 1
         * startTime : 1519894064000
         * endTime : 1519894064000
         * id : 1398
         * good : null
         */

        private double price;
        private int priceType;
        private long startTime;
        private long endTime;
        private String id;
        private Object good;

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getPriceType() {
            return priceType;
        }

        public void setPriceType(int priceType) {
            this.priceType = priceType;
        }

        public long getStartTime() {
            return startTime;
        }

        public void setStartTime(long startTime) {
            this.startTime = startTime;
        }

        public long getEndTime() {
            return endTime;
        }

        public void setEndTime(long endTime) {
            this.endTime = endTime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Object getGood() {
            return good;
        }

        public void setGood(Object good) {
            this.good = good;
        }
    }
    public static class TokenPricesBean {

                    /**
                     * mallDiscountId : 2
                     * goodId : 001161350000017
                     * tokenTypeId : 4
                     * tokenTypeName : FGT
                     * tokenIcon : https://panserver.solarsource.cn/panserver/files/aeda7fbc-9440-4190-a0b9-39f3378fedf0/download
                     * tokenDiscountRate : 1
                     * tokenPayPrice : 8
                     */

                    private String mallDiscountId;
                    private String goodId;
                    private String tokenTypeId;
                    private String tokenTypeName;
                    private String tokenIcon;
                    private String tokenDiscountRate;
                    private double tokenPayPrice;

                    public String getMallDiscountId() {
                        return mallDiscountId;
                    }

                    public void setMallDiscountId(String mallDiscountId) {
                        this.mallDiscountId = mallDiscountId;
                    }

                    public String getGoodId() {
                        return goodId;
                    }

                    public void setGoodId(String goodId) {
                        this.goodId = goodId;
                    }

                    public String getTokenTypeId() {
                        return tokenTypeId;
                    }

                    public void setTokenTypeId(String tokenTypeId) {
                        this.tokenTypeId = tokenTypeId;
                    }

                    public String getTokenTypeName() {
                        return tokenTypeName;
                    }

                    public void setTokenTypeName(String tokenTypeName) {
                        this.tokenTypeName = tokenTypeName;
                    }

                    public String getTokenIcon() {
                        return tokenIcon;
                    }

                    public void setTokenIcon(String tokenIcon) {
                        this.tokenIcon = tokenIcon;
                    }

                    public String getTokenDiscountRate() {
                        return tokenDiscountRate;
                    }

                    public void setTokenDiscountRate(String tokenDiscountRate) {
                        this.tokenDiscountRate = tokenDiscountRate;
                    }

                    public double getTokenPayPrice() {
                        return tokenPayPrice;
                    }

                    public void setTokenPayPrice(double tokenPayPrice) {
                        this.tokenPayPrice = tokenPayPrice;
                    }
                }
}

